docs(ndo): add NDO Prima Materia specification and integrate across docs#66
Merged
Conversation
- Expand ndo_prima_materia and requirements; add flowsta-integration stub - Refresh governance, resource, person zome docs and architecture index - Align integrity zomes (gouvernance, person) with documented model - Update CLAUDE.md, README, archives, and cross-zome governance specs Made-with: Cursor
…ration source - Added a note referencing Mark Lizar's work on Digital Notice Consent at the OPN lab as an inspiration for the PPR system.
6ed15c4 to
9ca2af0
Compare
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Introduces the NDO Prima Materia specification — the post-MVP design document for the Nondominium Object (NDO) three-layer model — and propagates it through all existing documentation and code. The NDO model solves a fundamental gap in the current architecture:
ResourceSpecificationandEconomicResourcerepresent being, not becoming. There is no structure for a resource that is an idea, a design under review, or a project in active development. This PR lays the written foundation for that post-MVP evolution.Also adds integration stubs for two optional external operators: Unyt (economic settlement via RAVE proofs and Smart Agreements) and Flowsta (cross-app identity via
IsSamePersonEntry/ DID vault), both gated behind the NDO capability slot surface.Changes
New documents
documentation/requirements/ndo_prima_materia.md(1 429 lines): the central NDO spec. Covers the three-layer model (NondominiumIdentity / ResourceSpecification+Assets / Process), lifecycle state machine (LifecycleStagevsOperationalStatesplit), capability slot surface (§6), DHT data structures (§8), normative requirements REQ-NDO-L0 through REQ-NDO-AGENT-08 and REQ-NDO-CS-01 through REQ-NDO-CS-15, and migration path from the current architecture (§10).documentation/requirements/post-mvp/flowsta-integration.md(169 lines): Flowsta cross-app identity integration — architecture summary, three-phase integration path, requirements traceability.Updated documentation
documentation/requirements/requirements.md: adds §2.3 (post-MVP NDO/Unyt/Flowsta overview table) and §4.4 (Agent Ontology Requirements REQ-AGENT-01 through REQ-AGENT-15 with affiliation spectrum, composable profile, and identity portability).documentation/requirements/post-mvp/unyt-integration.md: minor alignment updates to cross-references and requirement IDs.documentation/archives/resources.md,agent.md,governance.md,implementation_plan.md,IMPLEMENTATION_STATUS.md: backfill of cross-references and gap analyses pointing tondo_prima_materia.md.documentation/specifications/*: zome specs (person, resource, governance, architecture_overview) updated with NDO cross-links, known gaps, and future enhancement sections.documentation/ARCHITECTURE_COMPONENTS.md,DOCUMENTATION_INDEX.md: navigation and structure updates.Code (TODO annotations only — no behavior change)
Four Rust files receive structured comment blocks cross-referencing the new documentation. No logic is altered:
zome_person/src/role.rs: G13 —RolePromotionRequestDHT entry gap (queryable pending requests missing).zome_person/src/lib.rs(integrity): G1 —AgentEntityTypefield missing; G14 — closedRoleTypeenum, configurable role registry design.zome_resource/src/lib.rs(integrity):ResourceStateconflation gap;PropertyRegimeenum placeholder;ResourcesByStatelink split (REQ-NDO-OS-06).zome_gouvernance/src/lib.rs(integrity):ConsumeTODO updated to point at §5.3 lifecycle alignment.Navigation pointers
CLAUDE.md: documentation map section added for NDO and post-MVP integration files.README.md: documentation map link added..github/pull_request_template.md: Related issues section formatting fix (bullet list).Decisions
All changes in this PR are documentation and comment-only. No architectural decisions have been implemented. The design choices described in
ndo_prima_materia.md(three-layer model, capability slot surface,LifecycleStage/OperationalStatesplit, configurable role registry) are post-MVP proposals — they will each require their own implementation PR.How to test
bun run build:zomes— should compile without warnings or errors (Rust TODO comments are documentation only).documentation/requirements/ndo_prima_materia.mdas the entry point; follow cross-references to verify navigability.documentation/DOCUMENTATION_INDEX.mdfor index coherence.Documentation
This PR is the documentation update. All normative NDO requirements are introduced here and are the reference point for future implementation PRs.
Related
Related issues:
Closes #[issue]
Follow-up: future implementation PRs per
ndo_prima_materia.md§10 migration phases